home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-20
/
nosaexec.zip
/
AUTOEXEC.NET
< prev
Wrap
Text File
|
1990-11-04
|
16KB
|
511 lines
# 11/05/90 A U T O E X E C . N E T
# -----------------------
#
# Modified by KD2LH appreciation to N2IGU
#
# Examples use "ur1cal" for "your call"...
#
# For use with the G1EMM varient of NOS.EXE
#
# This is the configuration file for the NOS.EXE program...
# this file *MUST* be in the root directory ( \ ) of your current disk
# when NOS.EXE is run if you want NOS to use is as the default file.
#
# Note: NOS.EXE ignores all lines beginning with a pound sign (#).
#
# There are many commands which must be provided to NOS.EXE
# each time it is started to configure the program. To keep
# from having to type them by hand each time, we put them in
# this file, which is read each time NOS starts up. Commands
# in this configuration file are entered exactly as they would
# be typed at the keyboard in the program.
#
# We've tried to give you intelligent default values for each of
# the commands below. You need to read completely through this
# file, changing things as you go. If you're not sure what to
# do with a command, try leaving it like it is! Once you become
# familiar with the package, you'll no doubt find things to change.
# Once you're up and running and are all set, you can delete some or
# all of the comment lines (the ones that start with '#') to save
# disk space and make the program load faster, if you wish.
#
#-----------------------------------------------
#
# Turn off the internal stopwatch functions as on the Archimedes they
# don't half hassle the pc emulators speaker driver code..and it BEEPS!
#
watch off
#
#-----------------------------------------------
#
# Firstly, load up the memory database with all the remote nodes
# identifications. The default file to use is \domain.txt but this
# is very slow to access if the memory database is not invoked.
#
#domain load \domain.txt
#
#-----------------------------------------------
#
# The Domain timer backoff can be either linear or binary exponential.
# Realisically, the linear backoff is vital for Amateur radio work.
#
#domain timertype linear
#
#-----------------------------------------------
#
# The Domain default suffix for host names without a '.' is '.ampr.org.'
# and the domain.txt file has only names of the format:-
# <host>.ampr. (CNAME) and <host>.ampr.org. (A) in it.
#
domain suffix ampr.org.
#
#-----------------------------------------------
#
# This entry tells NOS.EXE the name of your machine. Your hostname will
# show up in mail headers, etc.
#
hostname ur1cal.ampr.org
#
#-----------------------------------------------
#
# The next line does the same thing that "MYCALL" did in your AX.25
# TNC... it identifies the callsign you're using on the air in AX.25
# packets. It also defines the callsign of your net/rom node!!!
#
ax25 mycall ur1cal-8
#
#-----------------------------------------------
#
# This one contains your IP address. This can either be in the form
# [44.131.x.y] where x and y are your alloted number values or it can
# use the domain file information and will then take a symbolic node
# name and convert it internally to your IP address. The [] are required
# if you wish to give an absolute address.
#
ip address [44.68.64.156]
#
#------------------------------------------------
#
# The attach command tells NOS.EXE about the interfaces in your computer
# that you will be using for TCP/IP. These can include normal IBM-type
# serial "comm ports", Ethernet controllers, or dedicated packet cards.
#
# The syntax is:
# attach <hw type> <I/O address> <vector> <mode> <label> <bufsize>
# <mtu> [<speed>] [IP addr]
#
# COM1: / 9600 baud KISS connection for use with KISS TNC's.
#
#attach asy 0x3f8 4 ax25 tnc 2048 256 2400
#attach packet 0x7f tnc 2048 256
#attach packet 0x7e tnd 2048 256
#
# COM1: / 4800 baud KISS connection for use with KISS TNC's.
#
#attach asy 0x3f8 4 ax25 tnc 2048 256 4800
#
# COM1: / 2400 baud KISS connection for use with KISS TNC's.
#
attach asy 0x3f8 4 ax25 tnc 2048 512 2400
#
# COM2: / 2400 baud KISS connection for use with KISS TNC's.
#
#attach asy 0x2f8 3 ax25 tnc2 2048 256 2400
#
# COM1: / 9600 baud slip link to another computer
#
#attach asy 0x3f8 4 slip sl0 8092 576 9600
#
#-------------------------------------------------
#
# The KISS computer-to-tnc protocol includes a "command packet" that
# you can use to twiddle TNC parameters like TXDELAY, TXTAIL, PERSIST,
# SLOTTIME and DUPLEX. Since most KISS implementations include good
# default values, you shouldn't have to use this feature.
# All TNC's were not created equal, so you *MUST* read the docs for the
# KISS implementation for your TNC before twiddling!
#
# The format is: param <label> <hex value> <hex value> <hex value> ...
#
param tnc 1 40
param tnc 2 63
param tnc 3 10
param tnc 4 10
param tnc 5 0
#
#-------------------------------------------------
#
# The following entry tells the program to route all packets out
# the interface labeled 'tnc' in the attach command.
#
route add default tnc
#
#-------------------------------------------------
#
# Time To Live is the maximum number of hops a packet can take
# before it is thrown away. This command prevents an inadvertent
# infinite loop from occuring with packets in the network.
#
ip ttl 10
#
#-------------------------------------------------
#
# The Maximum Segment Size is the largest single transmission that
# you will send. An mss of 216 corresponds to the mtu of 256 set
# up in the attach command above, overhead bytes considered.
#
tcp mss 192
#
#-------------------------------------------------
#
# Initial Retry TimeouT (irtt) is the time between retries before
# the corrected timers start to function in units of seconds.
# The default is 65 seconds but may be adjusted as required.
#
tcp irtt 65000
#
#-------------------------------------------------
#
# The TCP timer backoff can be either linear or binary exponential.
# Realisically, the linear backoff is vital for Amateur radio work.
#
tcp timertype linear
#
#-------------------------------------------------
#
# The Window parameter establishes the maximum number of bytes
# that may be outstanding before your system expects an ack.
# If window is twice as big as mss, for example, there will be two
# active packets on the channel at any given time... large values of
# window provide improved throughput on full-duplex links, but are a
# problem on the air. Keep mss <= window <= 2*mss if you're on the air.
#
#
tcp window 768
#
#-------------------------------------------------
#
# This entry will open 'logfile' in the \spool directory and will
# record the server activity of your system. If you don't want a log,
# comment out this line... if you do, make sure you have a \spool
# directory!
#
log \spool\logfile
#
#-------------------------------------------------
#
# Each of the servers (services you will provide) must be turned
# on before they will be active. The following entries turn all
# of them on. To turn any function off use the command 'stop' after
# NOS gets fired up, or just comment out the line here.
#
start ax25
start netrom
start echo
start discard
start telnet
start ttylink
start ftp
start smtp
start finger
start remote
start rip
#
#--------------------------------------------------
#
# Cause the SMTP server to look for new mail to send every 30 minutes
#
smtp timer 1800
#
#--------------------------------------------------
#
# Set the remote server password field
#
remote -s 328959
#
#--------------------------------------------------
#
# Cause the SMTP server to send undeliverable mail to gateway for forwarding
# Replace "ur1gat" with your gateway station, where mail defaults to going.
#
smtp gateway ur1gat
#
#--------------------------------------------------
#
# Cause the SMTP server to queue mail for SMTP mailer or ext. mailer
#
smtp mode route
#
#--------------------------------------------------
#
# These values come into play when you are operating in the
# AX.25 mode, along with your ax25 mycall entry above.
#
# If you want to operate as a digipeater (for those poor souls
# not operating TCP/IP!), change 'off' to 'on'.
#
ax25 digipeat on
#
#-------------------------------------------------
#
# Use AX25 protocol version 2 as most people have now migrated from 1.
#
ax25 version 2
#
#---------------------------------------------------
#
# Maxframe sets the max number of frames allowed to remain
# unacknowledged. Cannot be greater than 7. Low values are best.
#
ax25 maxframe 2
#
#---------------------------------------------------
#
# Maximum size of packet which will have its data resent with the POLL
# bit set on retry, else, just RR (p) instead of I (p)
#
ax25 pthresh 128
#
#---------------------------------------------------
#
# Paclen limits the size of I=fields.
#
#ax25 paclen 256
ax25 paclen 512
#
#---------------------------------------------------
#
# Retry limits the number of unsuccessful retransmissions.
#
ax25 retry 5
#
#---------------------------------------------------
#
# Set up the AX25 initial round-trip timer in milliseconds.
# The old T1 value is now taken to be 2*irtt and is variable.
#
ax25 irtt 2500
#
#---------------------------------------------------
#
# Set up the AX25 Link Keep-Alive timer T3 in milli-seconds.
#
#ax25 t3 65000
ax25 t3 300000
#
#---------------------------------------------------
#
# Set up the AX25 Link Redundancy timer T4 in seconds.
#
ax25 t4 300
#
#-------------------------------------------------
#
# The AX25 timer backoff can be either linear or binary exponential.
# Realisically, the linear backoff is vital for Amateur radio work.
#
ax25 timertype linear
#
#---------------------------------------------------
#
# ax25 window sets the number of bytes that can be pending on an
# AX.25 receive queue before sending RNRs back to sender.
#
ax25 window 2048
#
#---------------------------------------------------
#
# Start tracing the previously defined `tnc' line with 111 which is
# trace all input and output packets and dump in ASCII only.
# Value pattern is:-
# B:D:I:O
# | | | |__Output packets 0 or 1 1 = trace / 0 = don't
# | | |____Input packets 0 or 1 1 = trace / 0 = don't
# | |______Dump level 0 or 1 or 2 0=headers / 1=ascii / 2=hex
# |________Broadcasts 0 or 1 0 = trace / 1 = don't
#
#
trace tnc 0000
#
#---------------------------------------------------
#
# Set up the NET/ROM pseudo device so that NOS knows that netrom is used.
#
attach netrom
#
#---------------------------------------------------
#
# Tell NET/ROM what line to use and what we are called, ie. our alias.
# Also define a default quality factor for incoming NET/ROM broadcasts.
#
# Replace "ipcal" with your netrom node identity. Usually "ip" with your
# call's suffix letters.
#
netrom interface tnc ipcal 115
#
#---------------------------------------------------
#
# Set NET/ROM broadcast reception to only specifically named nodes.
#
netrom nodefilter mode accept
#
#---------------------------------------------------
#
# Set the NET/ROM inter-broadcast time to 30 minutes
#
netrom nodetimer 1800
#
#---------------------------------------------------
#
# Set the NET/ROM obsolesence timer to 30 minutes. Each time it fires
# we will derate the nodes in our tables. A non-refreshed node broadcast
# will vanish in about 3 hours then.
#
netrom obsotimer 1800
#
#---------------------------------------------------
#
# Set NET/ROM mode to switch rather then endpoint. We will tell the world
# about the nodes we can hear and not just ourself.
#
netrom verbose yes
#
#---------------------------------------------------
#
# Set NET/ROM minimum acceptable incoming broadcast level before we will
# build the nodes into our tables. Keeps out longshots!
#
netrom minquality 75
#
#---------------------------------------------------
#
# NET/ROM Time To Live is the maximum number of hops a packet can take
# before it is thrown away. This command prevents an inadvertent
# infinite loop from occuring with packets in the netrom network.
#
netrom ttl 15
#
#---------------------------------------------------
#
# Set NET/ROM acknowledge timer value in milliseconds
#
#netrom acktime 3000
netrom acktime 8000
#
#---------------------------------------------------
#
# Set NET/ROM maximum number of bytes on the netrom queues (I think!)
#
netrom qlimit 1024
#
#---------------------------------------------------
#
# Set NET/ROM maximum number of retries before disconnecting
#
netrom retries 5
#
#---------------------------------------------------
#
# Set NET/ROM initial round-trip timer in milli-seconds.
#
netrom irtt 60000
#
#---------------------------------------------------
#
# Set NET/ROM promiscuous acceptance of broadcasts at minimum quality.
#
netrom promiscuous y
#
#-------------------------------------------------
#
# The NET/ROM timer backoff can be either linear or binary exponential.
# Realisically, the linear backoff is vital for Amateur radio work.
#
netrom timertype linear
#
#---------------------------------------------------
#
# Let the world know that we are alive and kicking. Three broadcasts
# just to make sure that most people will be able to catch one of them!
#
netrom bcnodes tnc
#
#---------------------------------------------------
#
# Use I frames for ax25 traffic instead of UI frames.
#
mode tnc data
#
#---------------------------------------------------
#
# Use I frames for NET/ROM traffic instead of UI frames. (Is there a choice?)
#
#mode netrom vc
mode netrom data
#
#---------------------------------------------------
#
# Initial state of the system is that the is no manual operator present.
#
attended no
#
#---------------------------------------------------
#
# Bring in all the variable parameters relating to the outside world.
#
# First bring in all the remote NET/ROM nodes for filtering.
#
source a:\nodes.fil
#
# Next bring in all the remote Tcp/Ip nodes ARP definitions
#
source a:\nodes.arp
#
# Lastly bring in all the remote Tcp/Ip nodes route definitions.
# Note that this is automatically developed with current G1EMM versions.
# Entries in this node route table are not desirable. Let the network
# Build up itself...
#
source a:\nodes.rou
#
#-----------------------------------------------
#
# Just in case we don't have a host name entry in our domain file
# let's ask our domain server at ur1dom to try and resolve unknowns.
# This is currently VERY dangerous as it may stall the command
# interpreter or worse still - the timer process!! => dead in the H2O!
#
# domain addserver ur1dom
#
#---------------------------------------------------
#
# Define the RIP environment.
#
rip merge on
rip add 44.68.0.0 1800 1
rip request ur1rip
#
# Start SMTP Tracing
smtp trace 1
#
# Wake up the SMTP process to start shipping any outstanding mail.
#
smtp kick
#
#---------------------------------------------------
#
# Set up our "Message Of The Day". Displayed in mailbox and chat modes.
#
motd "This is the ur1cal TCP/IP Node. Please leave a message."
#
#---------------------------------------------------
#
# Announce our start up is complete and the time we took to do it.
#
status
#
#---------------------------------------------------
#
# THE END
#